export default {
  'POST /api/login/account': (req, res) => {
    const { password, userName, type } = req.body;
    if(password === '123456' && userName === 'admin') {
      res.send({
        status: 'ok',
        type,
        currentAuthority: 'admin'
      });
    }
    res.send({
      status: 'error',
      type,
      currentAuthority: 'guest'
    })
  }
}
